<!DOCTYPE html>
<script>
if (window.testRunner)
  testRunner.setPrinting();
</script>
<div style="height: 250px"></div>
<div id="perspective" style="width: 100px; height: 100px; perspective: 100px; perspective-origin: 0 0">
  <div id="rotate" style="transform: rotateX(45deg); transform-origin: 0 0;
                          width: 96px; height: 96px; border: 2px solid black">
  </div>
</div>
